package com.mao.service.impl.common;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mao.dao.common.CommonDao;
import com.mao.service.common.ICommonService;
import com.mao.service.common.ValDelOrgProWhCondition;

@Service("commonService")
public class CommonServiceImpl implements ICommonService{

	private CommonDao commonDao;
	
	@Override
	public String getVoucherNo(long storeid, String type, String tableName) {
		return commonDao.getVoucherNo(storeid, type, tableName);
	}
	
	public String valDelOrgProWH(ValDelOrgProWhCondition vop) {
		return commonDao.valDelOrgProWH(vop);
	}

	public CommonDao getCommonDao() {
		return commonDao;
	}

	@Autowired
	public void setCommonDao(CommonDao commonDao) {
		this.commonDao = commonDao;
	}

}
